package buka.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.TimeUnit;

@RestController
@RequestMapping("pay")
public class PayController {

    @RequestMapping("getInfo")
    public String getInfo() throws InterruptedException {
        System.out.println("into  9003 ");
        TimeUnit.SECONDS.sleep(3);
        return "9003";
    }

}
